<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/embeds/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title><decorator:title /> | V团网后台管理 </title>
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="<c:url value='/css/reset.css'/>" type="text/css" media="screen" />
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="<c:url value='/css/style.css'/>" type="text/css" media="screen" />
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="<c:url value='/css/invalid.css'/>" type="text/css" media="screen" />
		<c:import url="/embeds/scripts.jsp"></c:import>
		<!--                       Javascripts                       -->
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="<c:url value='/js/simpla.jquery.configuration.js'/>"></script>
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="<c:url value='/js/facebox.js'/>"></script>
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="<c:url value='/js/jquery.wysiwyg.js'/>"></script>
		<!-- jQuery Datepicker Plugin -->
		<script type="text/javascript" src="<c:url value='/js/jquery.datePicker.js'/>"></script>
		<script type="text/javascript" src="<c:url value='/js/jquery.date.js'/>"></script>
		<decorator:head />

	</head>
	<body>
		<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper">
      <!-- Sidebar with logo and menu -->
      <h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1>
      <!-- Logo (221px wide) -->
      <a href="http://www.865171.cn"><img id="logo" src="<c:url value='/images/admin/logo.png'/>" alt="Simpla Admin logo" /></a>
      <!-- Sidebar Profile links -->
      <div id="profile-links"> 你好, 管理员<br />
        <br />
        <a href="#" title="View the Site">View the Site</a> | <a href="#" title="Sign Out">Sign Out</a> </div>
      <ul id="main-nav">
      	
      	<c:set value="${fn:contains(pageContext.request.requestURI, 'business') || fn:contains(pageContext.request.requestURI, 'category')}" var="menu_product" />
      	<c:set value="${fn:contains(pageContext.request.requestURI, 'location')}" var="menu_other" />
        
        <!-- Accordion Menu -->
        <li> <a href="#" class="nav-top-item">
          <!-- Add the class "no-submenu" to menu items with no sub menu -->
          	网站统计 </a> </li>
        <li> <a href="#" class="nav-top-item <c:if test='${menu_product }'>current</c:if>">
          <!-- Add the class "current" to current menu item -->
          	商品管理</a>
          <ul>
            <li><a <c:if test="${fn:contains(pageContext.request.requestURI, 'business')}">class="current"</c:if> href="<c:url value='/admin/business!list.action'/>">商家管理</a></li>
            <li><a href="#">商品管理</a></li>
             <li><a <c:if test="${fn:contains(pageContext.request.requestURI, 'category')}">class="current"</c:if> href="<c:url value='/admin/category!list.action'/>">商品类型管理</a></li>
            <li><a href="#">订单管理</a></li>
          </ul>
        </li>
        <li> <a href="#" class="nav-top-item"> 用户管理 </a>
          <ul>
            <li><a href="#">用户管理</a></li>
            <li><a href="#">收货地址管理</a></li>
          </ul>
        </li>
        <li> <a href="#" class="nav-top-item"> 疑难管理 </a>
          <ul>
            <li><a href="#">系统疑难解答</a></li>
            <li><a href="#">用户提问</a></li>
            <li><a href="#">求购管理</a></li>
            <li><a href="#">转让管理</a></li>
          </ul>
        </li>
         <li> <a href="#" class="nav-top-item"> 页面管理 </a>
          <ul>
            <li><a href="#">静态页面生成</a></li>
          </ul>
        </li>
         <li> <a href="#" class="nav-top-item <c:if test='${menu_other }'>current</c:if>"> 其他管理 </a>
          <ul>
            <li><a href="<c:url value='/admin/location!list.action'/>">地区管理</a></li>
          </ul>
        </li>
      </ul>
      <!-- End #main-nav -->
       </div>
 	 </div>
  <!-- End #sidebar -->
  </div>
   <div id="main-content">
   		 <!-- Main Content Section with everything -->
    <noscript>
    <!-- Show a notification if the user has disabled javascript -->
    <div class="notification error png_bg">
      <div> Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
        Download From <a href="http://www.exet.tk">exet.tk</a></div>
    </div>
    </noscript>
    <!-- Page Head
    <h2>Welcome VGou</h2>
    <div class="clear"></div>
     -->
    <!-- End .clear -->
    
  		<decorator:body />
  		
  	 <div id="footer">
  	  <small>
      &#169; Copyright 2011 vgou
      </small>
       </div>
    <!-- End #footer -->
  </div>
  <!-- End #main-content -->
</body>
</html>
